package day01;


import lombok.extern.slf4j.Slf4j;

@Slf4j
public class startAndRun {
    public static void main(String[] args) {

        Thread t1 = new Thread("t1") {
            @Override
            public void run() {
                log.debug("我是t1");
            }
        };

        // start只能调用一次
        t1.start();
        log.debug("666");
    }
}
